/**
 * Common constants for all features.
 */
export class CommonConstants {
  /**
   *  Screen Change Monitoring ID
   */
  static readonly COMMON_EVENT_SCREEN_CHANGE: number = 2;
  /**
   * Resolution ratio of the expanded state of the folding screen
   */
  static readonly FOLD_DEVICE_EXPAND_RATIO: number = 1;

  /**
   * Resolution ratio of unfolded non-folding screen
   */
  static readonly NOT_FOLD_DEVICE_EXPAND_RATIO: number = 9 / 16;

  /**
   * Folding Device Navigation Bar Height
   */
  static readonly FOLD_DEVICE_NAV_HEIGHT: number = 38.72;

  /**
   * Phone Device Navigation Bar Height
   */
  static readonly PHONE_NAV_HEIGHT: number = 38.86;

  /**
   * Tablet Device Navigation Bar Height
   */
  static readonly TABLET_NAV_HEIGHT: number = 39;

  /**
   * Device types.
   */
  static readonly DEVICE_TYPES: string[] = ['phone', 'tablet'];

  /**
   *  Window Size Monitoring ID
   */
  static readonly WINDOW_SIZE_CHANGE: number = 1;

  /**
   *  Top Button Height
   */
  static readonly TOP_BUTTON_HEIGHT: number = 56;

  /**
   *  Title Margin Top
   */
  static readonly TITLE_MARGIN_TOP: number = 8;
  /**
   *  Title Main Line Height
   */
  static readonly TITLE_MAIN_LINE_HEIGHT: number = 24;
  /**
   *  Scan Middle Min Height
   */
  static readonly SCAN_MIDDLE_MIN_HEIGHT: number = 100;
  /**
   *  Scan Line Margin
   */
  static readonly SCAN_LINE_MARGIN: number = 24;
  /**
   *  Scan Bottom Height
   */
  static readonly SCAN_BOTTOM_HEIGHT: number = 148;
  /**
   *  Flash Height
   */
  static readonly FLASH_HEIGHT: number = 52;
  /**
   *  Flash Width
   */
  static readonly FLASH_WIDTH: number = 60;
  /**
   *  Flash Margin Bottom
   */
  static readonly FLASH_MARGIN_BOTTOM: number = 12;
  /**
   *  Placeholder Height
   */
  static readonly PLACEHOLDER_HEIGHT: number = 56;
  /**
   *  Icon Press Height
   */
  static readonly ICON_PRESS_HEIGHT: number = 72;
  /**
   *  Tab Bar Height
   */
  static readonly TAB_BAR_HEIGHT: number = 32;
  /**
   *  Ai Bottom Bar Height
   */
  static readonly AI_BOTTOM_BAR_HEIGHT: number = 40;
  /**
   *  Close Image Size
   */
  static readonly CLOSE_IMAGE_SIZE: number = 40;
  /**
   *  Padding Sm
   */
  static readonly PADDING_SM: number = 16;
  /**
   *  Padding Md
   */
  static readonly PADDING_MD: number = 24;
  /**
   *  Padding Lg
   */
  static readonly PADDING_LG: number = 32;
  /**
   *  SCAN_FONT_SIZE_SCALE_LIMIT
   */
  static readonly SCAN_FONT_SIZE_SCALE_limit_symbol_text: number = 1.45;
  static readonly SCAN_FONT_SIZE_SCALE_limit_title_text: number = 1.75;
  static readonly SCAN_FONT_SIZE_SCALE_limit_2: number = 2;
  static readonly SCAN_FONT_SIZE_SCALE_limit_dialog_text: number = 3.2;

  static readonly GLOBAL_SCAN_DEVICE_IS_FOLDING: string = 'hmsCore_scan_isFoldable';
  static readonly GLOBAL_SCAN_DEVICE_TYPE: string = 'hmsCore_scan_device_type';
  static readonly GLOBAL_SCAN_TOP_RECT_HEIGHT: string = 'scan_topRect_height';
  static readonly GLOBAL_SCAN_IS_DECODING_GALLERY: string = 'scan_is_decoding_gallery';
  static readonly GLOBAL_SCAN_SELECT_A_PICTURE: string = 'scan_select_a_picture';
  static readonly EVENT_SCREEN_OFF: boolean = false;
  static readonly EVENT_SCREEN_ON: boolean = true;
}

